package com.lyy.lottery.service;

import com.lyy.lottery.controller.param.CreatePrizeParam;
import com.lyy.lottery.controller.param.PageParam;
import com.lyy.lottery.service.dto.PageListDTO;
import org.springframework.web.multipart.MultipartFile;

public interface PrizeService {

    /**
     *创建单个奖品
     * @param param 奖品属性
     * @param picfile 奖品图片
     * @return 奖品id
     */
    Long createPrize(CreatePrizeParam param, MultipartFile picfile);

    PageListDTO findPrizeList(PageParam param);

//    PageListDTO<PrizeDTO> findPrizeList(PageParam param);
}
